<?php

namespace app\controller\admin;

use app\common\service\AuthenticationService;
use app\common\util\Result;
use app\controller\admin\AdminAuthorizedController;
use think\annotation\route\Group;
use think\annotation\route\Route;

#[Group('admin/home')]
class HomeController extends AdminAuthorizedController
{
    #[Route('GET|POST', 'mobile_index')]
    public function mobileIndex()
    {
        $res["expert_static"] = (new AuthenticationService(app()))->getStaticHome()->getData();
        return Result::success($res);
    }
}